package config;

import org.springframework.context.annotation.*;

@Configuration //标志此类是Spring核心配置类
//配置注解扫描路径
//<context:component-scan base-package="service"/>
//<context:component-scan base-package="dao"/>
@ComponentScans({@ComponentScan("service"), @ComponentScan("dao")})
//导入其他的配置类
@Import(DataSourceConfiguration.class)
public class SpringConfiguration {

}
